package com.beans.usercofiguration;

import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

@Configuration //将对象注入到spring中
public class UserConfiguration {
    public void sayHello(String name){
        System.out.println("Hello "+name);
    }
}
